package com.kqb.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 杉果树皮
 * @date 2025/2/17 20:44
 * @description: 员工数据传输对象
 */
@Data
public class EmployeeDto {
    @ApiModelProperty(value = "账号", required = true)
    private String account;
    @ApiModelProperty(value = "密码", required = true)
    private String password;

    /**
     * 1 平台用户
     * 2 客户
     * 3 供应商
     * 4 货代
     */
    @ApiModelProperty(value = "用户类型 1 平台用户 2 客户 3 供应商 4 货代", required = true)
    private Byte type;
    private String realName;
    @ApiModelProperty(value = "联系方式", required = true)
    private String mobile;
    private String status;
    @ApiModelProperty(value = "所属部门", required = true)
    private Integer departmentId;
    @ApiModelProperty(value = "职务名称", required = true)
    private String position;
    @ApiModelProperty(value = "底薪", required = true)
    private Long baseSalary;
    @ApiModelProperty(value = "员工生日(月 日)", required = true)
    private Date birthday;
    @ApiModelProperty(value = "入职时间", required = true)
    private Date hireDate;
    @ApiModelProperty("产品参数审核策略")
    private String approvalPolicy;
    @ApiModelProperty(value = "员工类型", required = true)
    private String employeeType;
    @ApiModelProperty(value = "关联角色", required = true)
    private Integer roleId;
    @ApiModelProperty(value = "年度业绩目标", required = true)
    private BigDecimal annualTarge;
}
